﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="InstitutionEdit.aspx.cs" Inherits="MedicWeb.forms.Editors.Directory.InstitutionEdit" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
    <style type="text/css">
        #form1
        {
            text-align: center;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>    
        <table>
            <tr>
                <td align="right">Наименование</td>
                <td>
                    <asp:TextBox ID="tfTitle" runat="server" Width="100%"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right">Категория</td>
                <td>
                    <asp:DropDownList ID="comboType" runat="server" Width="100%">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td align="right">Принадлежность</td>
                <td>
                    <asp:DropDownList ID="comboOwnership" runat="server" Width="100%">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td align="right">Регион</td>
                <td>
                    <asp:DropDownList ID="comboRegion" runat="server" Width="100%">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td align="right">Населённый пункт</td>
                <td>
                    <asp:DropDownList ID="comboLocality" runat="server" Width="100%">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td align="right">Адресс</td>
                <td>
                    <asp:TextBox ID="tfAddress" runat="server" Width="100%"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right">Телефон</td>
                <td>
                    <asp:TextBox ID="tfPhone" runat="server" Width="100%"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right">Учреждение в РМР</td>
                <td>
                    <div style="width:300px; overflow:auto;" align="left">
                    <asp:DropDownList ID="comboMedReGLPU" runat="server" CssClass="nullable">
                    </asp:DropDownList>
                       </div>                 
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:Button ID="btnSave" runat="server" Text="Сохранить" 
                        onclick="btnSave_Click" />
                    <asp:Button ID="btnCancel" runat="server" Text="Отмена" />
                    <asp:HiddenField ID="hfLocality" runat="server" ClientIDMode="Static" />
                </td>
            </tr>
        </table>    
    </div>
    </form>
</body>
